package com.qf.service.Impl;

import com.qf.dao.UserDao;
import com.qf.pojo.User;
import com.qf.service.UserService;

import java.util.List;

/**
 * @author sunyamei
 * @version V1.0
 * @Project spring_demo
 * @Package com.qf.service.Impl
 * @Description:
 * @Date 2022/7/11 22:40
 */
public class UserServiceImpl implements UserService {

private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public List<User> findUserList() {
        return userDao.findAll();
    }
}
